package com.hyt.it.ogt.ks.login.remote;

import com.hyt.common.apiInfor.ApiResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name="it-ogt-ks${ks.tag:}", fallback=KsClientHystrix.class)
public interface KsClient {

    @RequestMapping(value="/api/ks/ua/validCandidateAccount", method= RequestMethod.GET)
    ApiResponse<String> validCandidateAccount(@RequestParam String admissionNumber, @RequestParam String examId,
                                              @RequestParam String from,@RequestParam String loginType);

}
